<?php

/**
 * App
 *
 * @package App
 * @subpackage page
 */
require_once 'App.php';

/**
 * * Register_H_Index
 *
 * <pre>本登録ページ
 * </pre>
 *
 * @package     App
 * @subpackage  page
 * @author      $Author: moriwaki $
 * @version     $Id: 2008-09-30 moriwaki $
 */
class Register_H_Index extends App_Page
{

	function onInit($args)
	{
		$resource = new BEAR_Resource('/user/profile');
		
		$params = array();
		$params['id'] = $args['id'];
		$params['enabled'] = 1;
        $id = $resource->update($params, $options);

	}
}

new BEAR_Main('Register_H_Index');
